import request from '@/utils/request'


export default {
  getPageList(page, limit, courseId) {
    return request({
      url: `/eduservice/educomment/${page}/${limit}`,
      method: 'post',
      data: { courseId }
    })
  },
  addComment(comment) {
    return request({
      url: `/eduservice/educomment`,
      method: 'post',
      data: comment
    })
  }
}